Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Add zoomFactor option to control max zoom #2155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

warenix
Copy link

@warenix warenix commented Dec 17, 2018

numeric, 1.0 means actual size, 2.0 means double the width and height

There's no zoom allowed if actual image size fits into the visible area.
Sometimes we need to zoom in to see details such as seeing floor plan
image.

Added $.fancybox.defaults.zoomFactor option to adjust maximum allowed zoom.

numeric, 1.0 means actual size, 2.0 means double the width and height

There's no zoom allowed if actual image size fits into the visible area.
Sometimes we need to zoom in to see details such as seeing floor plan
image.

Added $.fancybox.defaults.zoomFactor option to adjust maximum allowed zoom.
@igorrocha
Copy link

I'm hoping they include this feature soon! Fancybox is awesome and would be even greater if we could zoom beyond fullscreen content

@frydo
Copy link

frydo commented Apr 3, 2020

I would also be very happy if we could zoom in beyond fullscreen

@fancyapps
Copy link
Owner

@frydo Upcoming v4 will allow greater customization, you can preview it here - https://fancyapps.com/next/

@frydo
Copy link

frydo commented Apr 3, 2020

Hey Cool. Thanks for your answer.

@frydo
Copy link

frydo commented Apr 3, 2020

Does v4 have better handling for svg? Currently I am integrating fancybox3 and had to create a CSS workaround for svg.

@fancyapps
Copy link
Owner

Actually, v3 handles SVG just fine, you just have to set some reasonable dimensions using data-width and data-height attributes, but v4 works just fine without extra steps.

btw, I am curious, what are you using SVG files for? (e.g., floor plans or ...)

@frydo
Copy link

frydo commented Apr 4, 2020

We use svgz for illustrated infopictures on a webshop. Can you say, when v4 get released?

@AthanGt
Copy link

AthanGt commented Apr 9, 2020

@frydo Upcoming v4 will allow greater customization, you can preview it here - https://fancyapps.com/next/

Just checked the v.4 preview
realy impressed !!!! Fancybox is by far the best image gallery !!!

I'm using the paid version
Can you give us an estimated release time ???

@AthanGt
Copy link

AthanGt commented Feb 6, 2021

@frydo Upcoming v4 will allow greater customization, you can preview it here - https://fancyapps.com/next/

I'm looking forward for the version 4 release. I saw your preview and I'm really amazed!! But since then I don't see any progress...
Could you give us an estimated release time?
I'm missing some features on v3*** like pinch to zoom on a trackpad, zoom with mouse wheel on windows and setting the zoom ratio (i.e. 1x, 2x etc.)
I'm using very high resolution images to my website (up to 7000x7000 or more) and the v4 features are really important to me. So please let me know if you are planning a release in the near future or if I have to look for another image gallery.
Thanks in advance

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants